package eu.reply.flashmob

class Event {

	String name
	Date date
	String location
	String description
	
	
	static hasMany = [attendees:UserProfile]

	static constraints = {
		name blank:false, unique:true
		date format:'yyyy-MM-dd HH:mm', attributes:[precision:'minute']
		location blank:false
		description maxSize:50000
	}

}
